package
{
	import com.bit101.components.Tree;

	import flash.display.Sprite;


	/**
	 *
	 * @author feng 2016-3-21
	 */
	public class TreeTest extends Sprite
	{
		public function TreeTest()
		{
			var tree:Tree = new Tree();
			tree.width = 200;
			tree.height = 300;
			//			var treeData:TreeListData = new TreeListData();

			tree.items = [{label: "111", children: [{name: "111", children: [{label: "111", children: [{name: "111", children: []}, 5]}]}, 5]}, {name: 111, children: [1, 2]}];
			//			tree.items = [{children: [{name: 111, children: []}, 5]}, {name: 111, children: [1, 2]}];

			addChild(tree);
		}
	}
}

